﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Matrix.MaKaYunShang.Model.Dto
{
    /// <summary>
    /// 订单统计结果类
    /// </summary>
    public class OrderStatDto
    {
        /// <summary>
        /// 订单数量
        /// </summary>
        public int OrderAmount { get; set; }

        /// <summary>
        /// 消费者ID
        /// </summary>
        public int ConsumerId { get; set; }

        /// <summary>
        /// 店铺ID
        /// </summary>
        public int ShopId { get; set; }

        /// <summary>
        /// 订单状态
        /// </summary>
        public int OrderStatus { get; set; }
    }

    /// <summary>
    /// 订单分状态统计数量类
    /// </summary>
    public class OrderAmountOfStatus
    {
        /// <summary>
        /// 总数量
        /// </summary>
        public int TotalAmount { get; set; }

        /// <summary>
        /// 待支付数量
        /// </summary>
        public int ToBePaidAmount { get; set; }

        /// <summary>
        /// 等待派单
        /// </summary>
        public int NewOrderAmount { get; set; }

        /// <summary>
        /// 正在配送
        /// </summary>
        public int BeingDeliveredAmount { get; set; }

        /// <summary>
        /// 已送到
        /// </summary>
        public int ArrivedAmount { get; set; }

        /// <summary>
        /// 已完成
        /// </summary>
        public int FinishedAmount { get; set; }

        /// <summary>
        /// 已取消
        /// </summary>
        public int CanceledAmount { get; set; }

        /// <summary>
        /// 已退回
        /// </summary>
        public int RejectedAmount { get; set; }
    }
}
